<?php
require_once("Entity.php");
class ActorEntity extends DBEntity {

	/** @var int,@column actor_id,@dbType int(11) */
	var $actorId;

	/** @var string,@column email,@dbType varchar(50) */
	var $email;

	/** @var string,@column password,@dbType char(32) */
	var $password;

	/** @var string,@column nickname,@dbType varchar(20) */
	var $nickname;

	/** @var int,@column create_time,@dbType bigint(20) */
	var $createTime;

	/** @var string,@column create_ip,@dbType char(15) */
	var $createIp;

	/** @var int,@column status,@dbType tinyint(4) */
	var $status;

	private static $_columnList = array(
		"actor_id","email","password","nickname","create_time","create_ip","status",
	);

	private static $_propertyMap = array(
	"actor_id"    => "actorId",
	"email"    => "email",
	"password"    => "password",
	"nickname"    => "nickname",
	"create_time"    => "createTime",
	"create_ip"    => "createIp",
	"status"    => "status",
	);

	public function __construct() {
		//parent::__construct();
    }
    
    public function getTable() {
        return "actor";
    }

	public function getColumnList() {
		return self::$_columnList;
	}

	protected function getPropertyMap() {
		return self::$_propertyMap;
	}

    public function getPrimaryKey() {
        return "actor_id";
    }

}
?>